package frsf.cidisi.exercise.arqueologo.search;

import frsf.cidisi.faia.agent.Agent;
import frsf.cidisi.faia.agent.Perception;
import frsf.cidisi.faia.environment.Environment;

public class ArqueologoPerception extends Perception {

	//TODO: Setup Statics
    public static int UNKNOWN_PERCEPTION = -1; 
    public static int COFRE_VACIO = 0;
    public static int COFRE_LLENO = 1;
	/*
	
	//TODO: Setup Sensors
	private int sensorCofre;
	//private int distanciaMin;
 

    public  ArqueologoPerception() {
    	//TODO: Complete Method
    }

    public ArqueologoPerception(Agent agent, Environment environment) {
        //super(agent, environment);
    	initPerception(agent,environment);
    }*/


	/**
     * This method is used to setup the perception.
     */
    @Override
    public void initPerception(Agent agentIn, Environment environmentIn) {            
        /*Arqueologo agent = (Arqueologo) agentIn;
        ArqueologoEnvironment environment = (ArqueologoEnvironment) environmentIn;
        ArqueologoEnvironmentState environmentState = environment.getEnvironmentState();
        
        String posicion = environmentState.getposicionArqueologo();
        
       // this.setDistanciaMin(environmentState.getDistMin());
        //this.setVerCofre(environmentState.getmundo().getCofre(posicion));
        this.setVerCofre(UNKNOWN_PERCEPTION);*/
    }
    
    /*@Override
    public String toString() {
        StringBuffer str = new StringBuffer();

        str.append("Sensor Cofre: " + this.sensorCofre);
        str.append("; ");
       // str.append("Distancia al destino: " + this.distanciaMin);

        return str.toString();
    }

    // The following methods are agent-specific:
	
    public int getVerCofre(){
        return sensorCofre;
    }
    public void setVerCofre(int co){
        this.sensorCofre = co;
    }*/
    
   /* public int getDistanciaMin(){
    	return distanciaMin;
    }
    
    public void setDistanciaMin(int dis){
    	this.distanciaMin = dis;
    }
	 */
}
